/**
 * 
 */
package com.wrsr.examsys.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author <a href="mailto:2397431783@qq.com">wangruishun</a>
 *
 *         2015年5月8日
 */
public class Discuss implements Serializable {

	private static final long serialVersionUID = 2344636981560047964L;
	// 评论id
	private Integer discussId;
	// 被评论对象的ID
	private Integer cardId;
	// 发帖人id
	private String fromId;
	// 发帖人名
	private String fromName;
	// 发帖人类型0 老师 1学生
	private Integer fromType;
	// 是否被查看状态1已查看 0未查看
	private Integer state=0;
	private Date createTime=new Date();;
	private String content;
	private Integer deleteFlag=1;

	/**
	 * @param deleteFlag the deleteFlag to set
	 */
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	/**
	 * @return the deleteFlag
	 */
	public Integer getDeleteFlag() {
		return deleteFlag;
	}

	/**
	 * @return the discussId
	 */
	public Integer getDiscussId() {
		return discussId;
	}

	/**
	 * @param discussId
	 *            the discussId to set
	 */
	public void setDiscussId(Integer discussId) {
		this.discussId = discussId;
	}

	/**
	 * @return the fromId
	 */
	public String getFromId() {
		return fromId;
	}

	/**
	 * @param fromId
	 *            the fromId to set
	 */
	public void setFromId(String fromId) {
		this.fromId = fromId;
	}

	/**
	 * @return the fromName
	 */
	public String getFromName() {
		return fromName;
	}

	/**
	 * @param fromName
	 *            the fromName to set
	 */
	public void setFromName(String fromName) {
		this.fromName = fromName;
	}

	/**
	 * @return the state
	 */
	public Integer getState() {
		return state;
	}

	/**
	 * @param state
	 *            the state to set
	 */
	public void setState(Integer state) {
		this.state = state;
	}

	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 *            the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content
	 *            the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the cardId
	 */
	public Integer getCardId() {
		return cardId;
	}

	/**
	 * @param cardId
	 *            the cardId to set
	 */
	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}

	/**
	 * @return the fromType
	 */
	public Integer getFromType() {
		return fromType;
	}

	/**
	 * @param fromType
	 *            the fromType to set
	 */
	public void setFromType(Integer fromType) {
		this.fromType = fromType;
	}

}
